﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Developex.GenerateClassOnShema.Classes
{
	public enum ColumnSettingsName
	{
		/// <summary>
		/// Use custom name for property
		/// </summary>
		PropertyName,
		/// <summary>
		/// Use custom name for field
		/// </summary>
		FieldName,
		/// <summary>
		/// Use custom name for foreign object property
		/// </summary>
		FKPropertyName,
		/// <summary>
		/// Useful if View used by default in foreign object
		/// </summary>
		FKUseTableName,
		/// <summary>
		/// Define witch fields to load (property names separated by comma)
		/// </summary>
		FKColumns,
		/// <summary>
		/// say that this field should be treated as foreign key to specified table
		/// </summary>
		fk,
		/// <summary>
		/// replace Column.IsNullable to specified value
		/// </summary>
		isnullable,
		/// <summary>
		/// use DES encryption
		/// </summary>
		Secured,
		/// <summary>
		/// use with Secured flag to ignore DESHelper.ExtraBytesCount
		/// </summary>
		SecuredNoExtraBytes,
		/// <summary>
		/// Custom encrypt
		/// </summary>
		CustomEncrypt,
		/// <summary>
		/// Custom decrypt
		/// </summary>
		CustomDecrypt,
		/// <summary>
		/// Indicate that field will not be loaded by default queries
		/// </summary>
		HeavyField,
		/// <summary>
		/// name of enumeration type
		/// </summary>
		Enum,
	}
}
